<?php 
	$name = $_POST['name'];
	$email = $_POST['email'];
	$address = $_POST['address'];
	$mobile = $_POST['mobile'];
	$password = $_POST['password'];
	
	/*$name = "test2";
	$email = "test2";
	$address ="test";
	$mobile = "test";
	$password = "test";*/
	
	
	$con = mysqli_connect('localhost','root','','cs2102');
	if(mysqli_connect_errno($con))
	{
		echo "";
	}
	else
	{
		$query = "INSERT INTO users values (\"$name\", \"$address\",\"$email\", \"$mobile\",\"$password\") ";
		if(mysqli_query($con,$query)){
			echo $name;
			}
		else{
			echo "";
		}
			
	}
	
	mysqli_close($con);
?>